import { DoctorApi } from './doctor.api'
import { App } from '../../app'
import { ServiceBase } from 'koagun'

export class Doctor extends ServiceBase<DoctorApi> {
  constructor(app: App) {
    super('doctor')

    const api = new DoctorApi(app)
    api.attachApisToRouter(app.router)
    this.api = api

  }

}